package Test02;

public class Demo03 {
    public static void main(String[] args) {
        char num = 'c';
        if(num >= 'A'&&num<='Z'||num>='a'&&num<='z'){
            System.out.println(num+"是一个字母");
        }else if(num >= '0' && num <= '9'){
            System.out.println(num+"是一个数字");
        }else {
            System.out.println(num+"是其他字符");
        }
    }
}
